/**
  ******************************************************************************
  * @file   usart.h
  * @author  CHIPAT Application Team
  * @brief   Header file of USART module.
  ******************************************************************************
  * @attention
  *
  * <h2><center>&copy; COPYRIGHT(c) 2023 CHIPAT electronic technology</center></h2>
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * are permitted provided that the following conditions are met:
  *   1. Redistributions of source code must retain the above copyright notice,
  *      this list of conditions and the following disclaimer.
  *   2. Redistributions in binary form must reproduce the above copyright notice,
  *      this list of conditions and the following disclaimer in the documentation
  *      and/or other materials provided with the distribution.
  *
  ******************************************************************************
  */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __USART_H
#define __USART_H

#ifdef __cplusplus
extern "C"
{
#endif

/* Includes ------------------------------------------------------------------*/


/* Initialization and de-initialization functions  ****************************/
void MY_USART0_Init(uint32_t u32Baud);
uint8_t USART0_Transmit(uint8_t *pu8Data, uint16_t u16Size, uint32_t u32TimeOut);

/**
* @}
*/

#ifdef __cplusplus
}
#endif

#endif /* __USART_H */

/************************ (C) COPYRIGHT CHIPAT electronic technology *****END OF FILE****/
